/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package BUS;

import DAO.ThamsoDAO;
import POJO.Thamso;
import java.util.List;

/**
 *
 * @author nhlvu07db373
 */
public class ThamsoBUS {
    private ThamsoDAO tsDAO;
    public Thamso laySoLuongSanPhamTrenTrang() {
        Thamso tam =tsDAO.laySoLuongSanPhamTrenTrang();
        return tam;
    }
    public int laySoNgayBanNickToiDa(){
        return 7;
    }
    /**
     * @return the ttdhDAO
     */
    public ThamsoDAO getTsDAO() {
        return tsDAO;
    }

    /**
     * @param ttdhDAO the ttdhDAO to set
     */
    public void setTsDAO(ThamsoDAO TsDAO) {
        this.tsDAO = TsDAO;
    }
}
